home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
atbsb002.zip
/
DEMOTOOL.RC
< prev
next >
Wrap
Text File
|
1993-12-16
|
3KB
|
121 lines
/*
TOOLDEMO.RC -- resource script file defining Tool Bar
control. This is a part of TOOLDEMO project - demonstration
of ESTOOLS.DLL
Copyright (C) Eugene Sokolov 1992-1993, (516)632-7892,
esokolov@sbchm1.chem.sunysb.edu
You can freely copy, change or redistribute this file as long
as this notice remains intact.
Last edition 10/30/93 (mm/dd/yy)
*/
#include "esdefs.h"
/* Bitmaps placed on top of TB buttons */
BMP1 BITMAP "bmp1.bmp"
BMP2 BITMAP "bmp2.bmp"
BMP3 BITMAP "bmp3.bmp"
BMP4 BITMAP "bmp4.bmp"
BMP5 BITMAP "bmp5.bmp"
/* Application icon */
TBICON ICON "tbdemo.ico"
/*Tool Bar window caption */
STRINGTABLE
BEGIN
NAME1, "ES ToolBar"
END
/* Script for the Tool Bar itself */
TOOLBAR RCDATA
BEGIN
TB_RESOURCE_VERSION, /* Resource version, new to 1.01 !!! ,
old resources will not work !!! */
NAME1, /* Tool Bar name */
TBS_CHILD | TBS_MOVABLE | TBS_BORDER | TBS_VISIBLE, /* Tool Bar style */
/* ^^^^^^^^^^^ -- default, included for reference only */
40, 32, /* button size width, height */
3, /* border size -- ignored if no
TBS_BORDER style specified*/
5, /* # of buttons in the horizontal line */
5, /* total # of controls */
BMP1, ID_CMD1, TBB_DISABLED, /* controls (buttons) in the form:
Bitmap ID, Button ID
(wParam in WM_COMMAND message),
Button style (see description of styles
in estools.h
*/
BMP2, ID_CMD2, TBB_AUTO2STATE | TBB_PRESSED,
BMP3, ID_CMD3, TBB_STANDARD,
BMP4, ID_CMD4, TBB_STANDARD,
BMP5, ID_CMD5, TBB_2STATE,
0 /* not necessary, but recommended for future
compatibility
*/
END
/* Application menu */
TBMENU MENU
BEGIN
POPUP "&Buttons"
BEGIN
POPUP "&1"
BEGIN
MENUITEM "&Disabled", 1100, CHECKED
MENUITEM "&Auto 2 state", 1101
MENUITEM "&2 State", 1102
END
POPUP "&2"
BEGIN
MENUITEM "&Disabled", 1200
MENUITEM "&Auto 2 state", 1201, CHECKED
MENUITEM "&2 State", 1202
END
POPUP "&3"
BEGIN
MENUITEM "&Disabled", 1300
MENUITEM "&Auto 2 state", 1301
MENUITEM "&2 State", 1302
END
POPUP "&4"
BEGIN
MENUITEM "&Disabled", 1400
MENUITEM "&Auto 2 state", 1401
MENUITEM "&2 State", 1402
END
POPUP "&5"
BEGIN
MENUITEM "&Disabled", 1500
MENUITEM "&Auto 2 state", 1501
MENUITEM "&2 State", 1502, CHECKED
END
END
POPUP "&Tool Bar"
BEGIN
POPUP "&Buttons Per Row"
BEGIN
MENUITEM "&1", 2001
MENUITEM "&2", 2002
MENUITEM "&3", 2003
MENUITEM "&4", 2004
MENUITEM "&5", 2005
END
MENUITEM "&TBS_Movable (or TBS_Fixed)", 2007, CHECKED
MENUITEM "&TBS_Border", 2008, CHECKED
END
END